package com.hj.dapp.business.brand.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hj.dapp.business.brand.model.Brand;
import com.hj.dapp.common.request.PageRequest;

import java.security.Principal;
import java.util.List;

/**
 * @author 胡奥程
 * @version 1.0
 * @date 2024/1/22
 */
public interface BrandService {
    Brand get(Long id);

    List<Brand> list();

    void delete(Long id);

    IPage<Brand> page(PageRequest<Brand> page);

    void save(Brand brand, Principal principal);

    void edit(Brand brand, Principal principal);
}
